package com.wtu.alicloud.dubbo.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.wtu.alicloud.api.service.DubboService;
import org.springframework.stereotype.Component;

/**
 * Created by chenmx on 2019-05-22.
 */
@Component
@Service(interfaceClass = DubboService.class, version = "1.0", group = "dubbo-group")
public class DubboServiceImpl implements DubboService {

    @Override
    public String getName(String name) {
        return "Hi," + name + ",My name is chenmx !!!";
    }
}
